home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 50
/
Aminet 50 (2002)(GTI - Schatztruhe)[!][Aug 2002].iso
/
Aminet
/
text
/
edit
/
tecoc-146.lha
/
exedot.c
< prev
next >
Wrap
C/C++ Source or Header
|
1991-07-05
|
799b
|
27 lines
/*****************************************************************************
ExeDot()
This function executes a . (dot) command.
. Equivalent to the number of characters between the
beginning of the buffer and the current position of the
pointer. Thus "." represents the current position of
the pointer.
*****************************************************************************/
#include "zport.h" /* define portability identifiers */
#include "tecoc.h" /* define general identifiers */
#include "defext.h" /* define external global variables */
DEFAULT ExeDot() /* execute a . (dot) command */
{
#if DEBUGGING
DBGFEN(1,"ExeDot",NULL);
sprintf(DbgSBf,"PushEx(%ld)", (LONG)(GapBeg-EBfBeg));
DbgFEx(1,DbgFNm,DbgSBf);
#endif
return PushEx((LONG)(GapBeg-EBfBeg), OPERAND);
}